package com.uhuibao.tmall.common.core.domain.model;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 用户登录对象
 * 
 * @author ruoyi
 */
public class LoginBody
{
    /**
     * 用户名
     */
    @NotNull(message = "appId不能为空")
    @NotBlank(message = "appId不能为空")
    private String appId;

    /**
     * 用户密码
     */
    @NotNull(message = "appSecret不能为空")
    @NotBlank(message = "appSecret不能为空")
    private String appSecret;

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }
}
